import { IsNotEmpty, MaxLength } from 'class-validator'

export class RenameFileDto {
  @IsNotEmpty({ message: '文件名不能为空' })
  @MaxLength(255, { message: '文件名不能超过255个字符' })
  filename: string
}
